from rest_framework import serializers
from travel.models import City, Travel, Comments


class CityModelSerializer(serializers.ModelSerializer):
    class Meta:
        model = City
        fields = "__all__"


class TravelModelSerializer(serializers.ModelSerializer):
    class Meta:
        model = Travel
        fields = "__all__"


class CommentsModelSerializer(serializers.ModelSerializer):
    class Meta:
        model = Comments
        fields = "__all__"
